<%= render 'menu/caidauadmin'%>
<h3>List of service in order</h3>
<div >
	<table>
		<tr>
			<td>
				<table>
			
<% @cl.each do |l| %>
<% @sl=l.Content.split("\\")%>
	<tr>
		<td>
			<% @sl.each do |r| %>
			<%= r%><br />
			<% end %>
			
		<%= link_to 'Process', :action=>'sproc', :sid=>l.id%>
	<br />
------------------------------------------------------------------------------------------------------------------
		</td>
		
	</tr>
	
<% end %>
</table>
			</td>
			<td>
				<%if !session[:serprocess].nil?%>
<fieldset align="left">
	<% @l=Servicereport.find_by_id(session[:serprocess])%>
	<% @sl=@l.Content.split("\\")%>
					<fieldset align="left">
					<legend><h2>Servicer Detail</h2></legend>
					<% @sl.each do |r| %>
					<%= r%><br />
					<% end %>
					</fieldset>
					
				<fieldset align="left">
					<legend><h2>Answer</h2></legend>
					<%= form_tag :action => "replyservice" do%>
					<table>
	<tr>
		<td>Make a date:</td>
		<td><%= text_field_tag 'adate'%></td>
	</tr>
	<tr>
		<td>Price:</td>
		<td><%= text_field_tag 'price'%></td>
	</tr>
	</table>
					<%= submit_tag 'Reply'%>
					<% end %>
				</fieldset>	
	</fieldset>	
					
<%end%>
			</td>
		</tr>
	</table>
	
	

